package com.pingan.haofang.searchcloud.index.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 索引top10
 *
 * @author EX-ZHOUYONG005
 * @date 2018-10-26
 */
@ApiModel(description = "索引top10")
public class IndexBuildProgressTopDTO {

    /**
     * 项目CODE
     */
    @ApiModelProperty("项目CODE")
    private String projectCode;

    /**
     * 项目Id
     */
    @ApiModelProperty("项目Id")
    private Long projectId;

    /**
     * 项目名称
     */
    @ApiModelProperty("项目名称")
    private String projectName;

    /**
     * 索引名称
     */
    @ApiModelProperty("索引名称")
    private String indexName;

    /**
     * 调用总量
     */
    @ApiModelProperty("调用次数")
    private Long execTotalNum = 0L;

    /**
     * 失败量
     */
    @ApiModelProperty("失败次数")
    private Long failNum = 0L;

    /**
     * 失败率
     */
    @ApiModelProperty("失败率")
    private Double failRate = 0D;

    /**
     * 成功量
     */
    @ApiModelProperty("成功次数")
    private Long successNum = 0L;

    /**
     * 索引总量
     */
    @ApiModelProperty("索引量")
    private Long indexTotal = 0L;

    /**
     * 耗时总量
     */
    @ApiModelProperty("耗时")
    private Long costTimeTotal = 0L;

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Long getExecTotalNum() {
        return execTotalNum;
    }

    public void setExecTotalNum(Long execTotalNum) {
        this.execTotalNum = execTotalNum;
    }

    public Long getFailNum() {
        return failNum;
    }

    public void setFailNum(Long failNum) {
        this.failNum = failNum;
    }

    public Double getFailRate() {
        return failRate;
    }

    public void setFailRate(Double failRate) {
        this.failRate = failRate;
    }

    public Long getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Long successNum) {
        this.successNum = successNum;
    }

    public Long getIndexTotal() {
        return indexTotal;
    }

    public void setIndexTotal(Long indexTotal) {
        this.indexTotal = indexTotal;
    }

    public Long getCostTimeTotal() {
        return costTimeTotal;
    }

    public void setCostTimeTotal(Long costTimeTotal) {
        this.costTimeTotal = costTimeTotal;
    }
}
